import Vue from 'vue';
import singleSpaVue from 'single-spa-vue';
import appOptions from './page/app'

Vue.config.productionTip = false

const vueLifecycles = singleSpaVue({
    Vue,
    appOptions
});

// 应用初始
export const bootstrap = (props) => {
    console.log('应用注册附属参数', props)
    return vueLifecycles.bootstrap(props)
}

// 应用挂载
export const mount = [
    vueLifecycles.mount
];

// 应用卸载
export const unmount = [
    vueLifecycles.unmount
];